package com.iot.inter.entity.newpojo.response.subResponse.common;

import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

@Setter
@Getter
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "package_order")
public class PackageOrder implements Serializable {

    //是否是首单 0非首单 1是首单

    @XmlElement(name = "is_first_order")
    private String isFirstOrder;

    @XmlElement(name = "order_code")
    private String orderCode;

    @XmlElement(name = "device_id")
    private String deviceId;

    @XmlElement(name = "package_name")
    private String packageName;

    @XmlElement(name = "package_code")
    private String packageCode;

    @XmlElement(name = "package_type")
    private String packageType;

    @XmlElement(name = "order_status")
    private String orderStatus;

    @XmlElement(name = "buy_type")
    private String buyType;

    @XmlElement(name = "order_period")
    private String orderPeriod;

    @XmlElement(name = "flow")
    private String flow;

    @XmlElement(name = "used_flow")
    private String usedFlow;

    @XmlElement(name = "flow_use_rate")
    private String flowUseRate;

    @XmlElement(name = "order_used_flow")
    private String orderUsedFlow;

    @XmlElement(name = "order_date")
    private String orderDate;

    @XmlElement(name = "active_date")
    private String activeDate;

    @XmlElement(name = "expire_date")
    private String expireDate;

    @XmlElement(name = "is_order_refueling_package")
    private String isOrderRefuelingPackage;

    @XmlElement(name = "refueling_package_list")
    private List<RefuelingPackageList> refuelingPackageList;
}
